# Homie Driver

## Description

Have you ever wanted to feel like a boss and have your gang members chauffeur you around Los Santos? **HomieDrive Ultimate** is a highly stable MoonLoader script that allows you to command your recruited Grove Street homies to act as your personal drivers.

Simply recruit your squad, walk up to a car, and press a button. The script handles the rest: your homies will seamlessly enter the vehicle, take the driver and passenger seats, and safely drive you to your map waypoint while you ride shotgun. Featuring custom AI overrides, this mod prevents the game engine from forcing your gang out of the car to fight, ensuring a smooth ride.

---

## Features

* **Full Automation:** Press one button and watch your squad automatically claim their seats.
* **Smart Proximity Detection:** Only grabs the homies actually following you, ignoring random gang members on the street.
* **AI Brain-Lock:** Custom task-locking prevents your driver from bailing out of the car to fight rival gangs or run from cops.
* **Multi-Targeting:** Update your map waypoint on the fly and send your driver to a new destination without ever leaving the car.
* **Speed Toggle:** Switch between normal, law-abiding city driving and fast, aggressive getaway driving at the press of a button.

---

## Requirements

To run this mod, you need a standard modded GTA San Andreas setup.

* **GTA San Andreas v1.0.0.0 US** (Recommended)
* **ASI Loader** (Usually installed with CLEO)
* **MoonLoader v.026.5-beta** (or newer)

*Note: This script is entirely standalone. It does NOT require any external Lua libraries (like `vkeys`) because all keycodes are built directly into the code.*

---

## Installation

1. Ensure you have **MoonLoader** installed correctly in your GTA San Andreas directory.
2. Download and extract the mod archive.
3. Drop the `Drive V2.0.lua` directly into your `GTA San Andreas/moonloader/` folder.
4. Launch the game. You should see a green "Homie Drive Pro Loaded" message at the bottom of the screen when you load into Single Player.

---

## How to Use & Controls

**Step 1: Preparation**
Recruit Three Grove Street gang member (aim at them and press `G` or `H`). Walk near any vehicle on foot.

**Step 2: Controls**

* **`CTRL + O` (Start / Pause Autopilot):**
Press this **ONCE** while standing on foot near a car. CJ and your squad will automatically walk to the doors and get in. If pressed while driving, the driver will stop the car and wait.
* **`CTRL + P` (Drive to Waypoint):**
Place a Red Waypoint on your map, then press this combination. Your homie will begin driving to the destination. You can use this at any time to set a new target.
* **`CTRL + L` (Toggle Driving Style):**
Press this while driving to toggle between **Careful Driving** (obeys traffic lights, slower speed) and **Reckless Driving** (fast speed, ignores traffic laws).

**Step 3: Ending the Drive**
To end the autopilot sequence and get your gang back, simply press **`F`** or **`Enter`** to manually exit the vehicle. Your homies will automatically step out, their AI will be restored to normal, and they will resume following you on foot.

---

## Known Limitations / Tips

* The mod requires standard Grove Street character models (Fam1, Fam2, Fam3).
* Wait for the driver to fully sit down before updating your map waypoint.
* If a homie gets stuck walking against a wall while trying to enter, the script has a built-in 10-second failsafe that will automatically warp them into their seat so your game doesn't break.